package engine.graphics.anim
{
	import engine.core.*;
	
	public class RxAnimatedParamScalar extends RxAnimatedParamBase
	{
		protected var m_valueStart:Number;
		protected var m_valueMid:Number;
		protected var m_valueEnd:Number;
		protected var m_amplitude:Number;
		protected var m_frequency:Number;
		protected var m_phase:Number;
		protected var m_valueCurrent:Number;
		private static var s_pool:RxObjectPool = null;
		
		public function RxAnimatedParamScalar()
		{
			
		}
		
		public static function CreatePool(initSize:uint, growSize:uint) : void
		{
			var allocFunc:* = function () : Object
			{
				return new RxAnimatedParamScalar();
			};
			s_pool = new RxObjectPool(allocFunc, null, initSize, growSize, RxAnimatedParamScalar);
		}
	}
}